﻿//////////////////////////////////////////////////////////////////////////////
//
//  Copyright © 1998-2024 Glodon Company Limited.  All rights reserved.
//
//  Use of this software is subject to the terms of the Glodon license
//  agreement provided at the time of installation or download, or which
//  otherwise accompanies this software in either electronic or hard copy form.  
//
//////////////////////////////////////////////////////////////////////////////


#pragma once
#include "GcmpUiInterface.h"
#include "WeakReferenceable.h"

namespace gcmp
{
    class IActionInputEventArgs;

    /// \breif Action输入事件处理者
    class GCMP_UI_INTERFACE_EXPORT IActionInputEventHandler : public WeakReferenceable
    {
    public:
        /// \breif 构造函数
        IActionInputEventHandler();

        /// \breif 析构函数
        virtual ~IActionInputEventHandler();

        /// \breif Action输入事件响应
        ///
        /// \param pArguments Action输入事件参数
        virtual void On(IActionInputEventArgs* pArguments) = 0;
    };
}

